#Author: sgxiao
#Tue Jan  7 15:20:31 CST 2009

CC = javac
d_SMW = SimpleMovingAverage.java ConvertStockToSMW.java

SMW : $(d_SMW)
	$(CC) $(d_SMW)
	chmod a+x *.sh

SimpleMovingAverage.class : SimpleMovingAverage.java
ConvertStockToSMW.class : ConvertStockToSMW.java
.PHONY : clean
clean:
	rm *.class
	
	rm SMW.awk
	rm SMW.stock.sh
	rm convert_stock_to_SMW.sh
	rm *.stock*	

	mv *.data ../
	mv all.array.top50 ../
	mv *.SMW ../